<?php
class Subcategorymanager_Data_Getallcategories implements Subcategorymanager_Data_Mainable {
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }

    public function main(array $variables = null) {
        $variables['query'] = "SELECT category_settings.category_name, category_content_values.category_title FROM category_settings, category_content_values WHERE category_settings.category_name = category_content_values.category_name ORDER BY category_content_values.category_title ASC;";
        return $this->core_controller_selectdata->main($variables);
    }

}

